package com.david.equipment.mapper;

import com.david.equipment.pojo.entity.EquipProcess;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface ProcessMapper {
    List<EquipProcess> selectList(EquipProcess equipProcess);

    @Update("update equip_process set process_form_flow_id = #{process.processFormFlowId}, update_time = #{process.updateTime} where id = #{process.id}")
    void updateProcess(@Param("process") EquipProcess process);
}
